<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:sijyp="http://java.sun.com/jsf/composite/sijyp">


		<a4j:region id="rg_documento_adjunto_registros">
			<rich:dataTable keepSaved="true" id="datosJudicializacionTable"
				var="record_documento"
				value="#{documentoExhumacion.listaDocumentos}"
				style="width: 100%" 
				rows="5"
				noDataLabel="${msg['general.registrosNoEncontrados']}">

				<rich:column>
					<f:facet name="header">
						<h:outputText
							value="#{msgExh['exhumaciones.catalogo.tipo_documento_adjunto']}" />
					</f:facet>
					<h:outputText value="#{record_documento.tipodocumentocasoexhumacion.nombre}" />
				</rich:column>
				
				<rich:column>
					<f:facet name="header">
						<h:outputText
							value="#{msgExh['exhumaciones.descripcion']}" />
					</f:facet>
					<h:outputText value="#{record_documento.descripcion}" />
				</rich:column>


				<rich:column>
					<f:facet name="header">
						<h:commandLink
							value="#{msgExh['exhumaciones.tabla_columna_accion']}:">
							<f:ajax execute="@none" />
						</h:commandLink>
					</f:facet>
					<h:panelGrid columns="3"
						columnClasses="icon_space,icon_space,icon_space,icon_space,icon_space">

						
						<h:graphicImage value="/resources/images/icons/ico_pencil.png"
							title="${msg['boton.editar']}" />

						<ui:remove>Gray edit action icon</ui:remove>
						<h:graphicImage
							value="/resources/images/icons/ico_pencil_gray.png"
							title="${msg['boton.editar']}" rendered="true" />

						<h:commandLink value="" execute="@this" render="@none"
							title="${msg['boton.eliminar']}" rendered="true">
							<h:graphicImage value="/resources/images/icons/ico_delete.png"
								title="${msg['boton.aceptar']}" />

						</h:commandLink>

						<ui:remove>Gray delete action icon</ui:remove>
						<h:graphicImage
							value="/resources/images/icons/ico_delete_disabled.png"
							title="${msg['boton.aceptar']}" rendered="true" />
					</h:panelGrid>
				</rich:column>
				<f:facet name="footer">
					<rich:dataScroller />
				</f:facet>
			</rich:dataTable>
		</a4j:region>
	

</ui:composition>